package com.markul.android.ui.detail

import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.baidu.mapapi.model.LatLng
import com.markul.android.logic.model.Repository
import com.markul.android.logic.room.User
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch

class DetailedViewModel : ViewModel(){

    var picList=ArrayList<String>()

    var dateText: String=""
    var latLng=LatLng(0.0,0.0)
    var markText:String?=""
    var IconList=ArrayList<Int?>()

    fun deleteAlbumAndPhotos(albumId:Int) {
        viewModelScope.launch(Dispatchers.IO) {
            Repository.deleteAlbumAndPhotos(albumId)
        }
    }
}